package com.example.common.fraction;


import com.example.common.ResourceTable;
import com.example.commonlib.base.presenter.RequirePresenter;
import com.example.commonlib.base.view.SuperFraction;
import ohos.agp.components.Component;
import ohos.hiviewdfx.HiLog;
import ohos.hiviewdfx.HiLogLabel;

@RequirePresenter(TextListPresenter.class)
public class TextListFraction extends SuperFraction<TextListPresenter> {
    private static final HiLogLabel LABEL = new HiLogLabel(HiLog.LOG_APP, 0x00201, "test001");

    public TextListFraction() {
        super(ResourceTable.Layout_lesson_fraction, true);
        HiLog.error(LABEL, "*****************TextListFraction******************");
    }

    @Override
    public void onErrorRetry(Component v) {
        HiLog.error(LABEL, "*****************VideoFraction onErrorRetry******************");
        getPresenter().getData(true);
    }
}
